using Chaotic.DataBase.DBAccessLibrary.Model;

namespace Chaotic.DataBase.DBAccessLibrary.DBAccessLibrary;

public class DbEntityCache
{

    public IEnumerable<TableEntity>? TableList { get; set; }

	public IEnumerable<ProcEntity>? ProcList { get; set; }

	public IEnumerable<ViewEntity>? ViewList { get; set; }

	public int Count
	{
		get
		{
			int num = 0;
			if (TableList != null)
			{
				num += TableList.Count();
			}
			if (ViewList != null)
			{
				num += ViewList.Count();
			}
			if (ProcList != null)
			{
				num += ProcList.Count();
			}
			return num;
		}
	}
}
